/*
 * Copyright 2009, Qys Creations 
 * 
 *  This file is part of Chameleon DB.
 *
 *  Chameleon DB is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  Chameleon DB is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Chameleon DB.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * */



import java.util.ArrayList;
public class db_server {
	public ArrayList<db_database> oDatabases = new ArrayList<db_database>();
	private db_query_queue oQueue;
	
	db_server(db_query_queue oQueryQueue) {
		oQueue = oQueryQueue;

	}
	public db_session get_query() throws Exception{
		return oQueue.get_query();
	}
	public void add_database(db_database oDB){
		oDatabases.add(oDB);
	}

}
